package com.by.web.service.impl;

import com.by.web.entity.TResource;
import com.by.web.mapper.IMenuMapper;
import com.by.web.service.IMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author hsitung
 */
@Service
@SuppressWarnings("all")
public class MenuServiceImpl implements IMenuService {

    @Override
    public List<TResource> menus_list() {
        return menuMapper.menus_list();
    }

    @Autowired
    private IMenuMapper menuMapper;
}
